// transition 动画过渡样式

@duration-faster: .3s;
@duration-slower: .6s;
@offsetX: 30px;

/**
 *  fade
**/
.fade-enter-active,
.fade-leave-active {
  transition: opacity @duration-faster;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

/**
 *  fade-in
**/
.fade-in-enter-active {
  transition: opacity @duration-faster;
}

.fade-in-enter,
.fade-in-leave-to {
  opacity: 0;
}

/**
 *  fade-transform
**/
.fade-transform--move,
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all @duration-slower;
}

.fade-transform-enter,
.fade-transform-leave-to {
  opacity: 0;
}

.fade-transform-enter {
  transform: translateX(-@offsetX);
}
.fade-transform-leave-to {
  transform: translateX(@offsetX);
}